package cz.semjobKB.conllx.api;


/**
 * The Interface declaring iterator methods over document parts
 */
public interface IDocumentPartIterator {

	/**
	 * Gets the next document part.
	 * 
	 * @param part
	 *            Text part type
	 * @return the next document part
	 */
	IDocumentPart getNextDocumentPart(ETextPart part);

	/**
	 * Checks for next text part.
	 * 
	 * @param part
	 *            Text part type
	 * @return true, if next exists
	 */
	boolean hasNext(ETextPart part);

}
